package com.yami.shop.bean.enums;

import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;

@NoArgsConstructor
@AllArgsConstructor
public enum OperationTypeEnum {
    /**
     * 初始化点赞量
     */
    DEFAULT_LIKE(0, 1),

    /**
     * 初始化收藏量
     */
    DEFAULT_COLLECTION(1, 1);
    private Integer operationType;
    private Integer operationNum;

    public void setOperationNum(Integer operationNum) {
        this.operationNum = operationNum;
    }

    public void setOperationType(Integer operationType) {
        this.operationType = operationType;
    }

    public Integer getOperationType() {
        return operationType;
    }

    public Integer getOperationNum() {
        return operationNum;
    }

}
